package com.ikun.service;

import java.util.List;

import com.ikun.entity.CleaningOrders;
import com.ikun.entity.req.CleaningOrderDTO;
import com.ikun.util.Result;

public interface CleaningOrdersService {
    List<CleaningOrders> findAssignedOrders();

    List<CleaningOrders> findCompleted();

    List<CleaningOrders> findCreate();

    Result getPendingOrders(Integer staffId);

    String createCleaning(CleaningOrders cleaningOrders);

    List<CleaningOrderDTO> getAllWorkOrdersByMangerId(Integer mangerId);

    int assignStaff(Integer orderId, Integer staffId);

    Result markOrderCompleted(String orderId, String staffId);
}
